
/*通用*/
.ol-popup .header .closeBox{
  font-family: "freight-text-pro", Georgia, Cambria, "Times New Roman", Times, serif;

}
.ol-popup{
  overflow: inherit;
}
.ol-popup.hasSetTitle .ol-overlaycontainer-stopevent .header{
  height: 40px;
  line-height: 40px;
  /*border-bottom: 1px solid #e4e4e4;*/
}
.ol-popup.hasSetTitle .closeBox{

}
/** Anchor default */
/*设置了标题(弹窗)*/
.ol-popup.default{
  border: none;
}
.ol-popup.hasSetTitle .ol-overlaycontainer-stopevent .header .title{
  color: #333;
  display: block;
  float: left;
  font-size: 16px;
  font-weight: bold;
  margin-left: 10px;
}
.ol-popup.default.hasSetTitle .ol-overlaycontainer-stopevent .header{
  height: 40px;
  line-height: 40px;
  background: #50bdf1;
  border-radius:5px 5px 0 0;
  /*border-bottom: 1px solid #e4e4e4;*/
}
.ol-popup.default.hasSetTitle .ol-overlaycontainer-stopevent .header .title{
  color: #fff;
  display: block;
  float: left;
  font-size: 16px;
  font-weight: bold;
  margin-left: 10px;
}
.ol-popup.default.hasSetTitle .closeBox:hover{
  background: none;
  color: #eaeaea;
}
.ol-popup.default.hasSetTitle .closeBox{
  margin: 10px 10px 0 0;
  background: none;
  color: #fff;
  -webkit-text-size-adjust:none;
}
/*没有设置标题(气泡)*/
.ol-popup .ol-overlaycontainer-stopevent .header .title{
  display: none;
}
.ol-popup.default .closeBox{
  margin: 5px 5px 0 0;
  background: none;
  color: #1b90c7;
}
.ol-popup.default .closeBox:hover{
  background: none;
  color: #1a598f;
}
/*默认*/
.ol-overlaycontainer-stopevent .header .title{
  color: #333;
  font-size: 16px;
  font-weight: bold;
  margin-left: 10px;
}
.ol-popup .ol-overlaycontainer-stopevent .header{
  clear: both;
}
.ol-popup.hasclosebox .content{
  padding-top: 10px;
  padding-bottom: 10px;
  margin-right:2.2em;
}
.ol-popup.default .closeBox::after{
  font-size: 2em;
  font-weight: normal;
}
.ol-popup{
  border: none;
  box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.3);
}


/** Anchor position */
.ol-popup .anchor
{	display:block;
  width:0px;
  height:0px;
  background:red;
  position:absolute;
}
.ol-popup .anchor:after,
.ol-popup .anchor:before
{	position:absolute;
}
.ol-popup-right .anchor:after,
.ol-popup-right .anchor:before
{	right:0;
}
.ol-popup-top .anchor { top:-10px; }
.ol-popup-bottom .anchor { bottom:-10px;}
.ol-popup-right .anchor { right:20px; }
.ol-popup-left .anchor { left:20px; }
.ol-popup-center .anchor { left:50%; }
.ol-popup-middle .anchor { top:50%; }
.ol-popup-center.ol-popup-middle .anchor { display:none; }

/** Anchor default */
.ol-popup.default .anchor:after,
.ol-popup.default .anchor:before
{ content:"";
  border-color: #fff transparent;
  border-style: solid;
  border-width: 15px;
  margin: 0;
}
.ol-popup.default .anchor:after
{	border-color: #fff transparent;
  border-width: 15px;
  margin:0;
}
.ol-popup.default .anchor::after, .ol-popup.default .anchor::before {
  border-color: #fff transparent;
  border-style: solid;
  border-width: 15px;
  content: "";
  margin: 0;
}
.ol-popup-top.default.hasSetTitle .anchor:before,
.ol-popup-top.default.hasSetTitle .anchor:after
{	border-top:0;
  border-color: #50bdf1 transparent;
  top:0;
}

.ol-popup-top.default .anchor:before,
.ol-popup-top.default .anchor:after
{	border-top:0;
  border-color: #fff transparent;
  top:0;
}
.ol-popup-bottom.default .anchor:before,
.ol-popup-bottom.default .anchor:after
{ border-bottom:0;
  bottom:0;
}

.ol-popup-middle.default .anchor:before
{	margin: 0;
  border-color: transparent #fff;
}
.ol-popup-middle.default .anchor:after
{	margin:0;
  border-color: transparent #fff;
}
.ol-popup-middle.ol-popup-left.default .anchor:before,
.ol-popup-middle.ol-popup-left.default .anchor:after
{	border-left:0;
}
.ol-popup-middle.ol-popup-right.default .anchor:before,
.ol-popup-middle.ol-popup-right.default .anchor:after
{	border-right:0;
}
/** Anchor tooltipss */
.ol-popup.tooltips{
  border-radius: 5px;
  background: #fffce6;
}
.ol-popup.tooltips .ol-overlaycontainer-stopevent .header{
  background: #f1ab3d;
  border-radius: 5px 5px 0 0;
  color: #fff;
}
.ol-popup.tooltips .ol-overlaycontainer-stopevent .header .title{
  color: #fff;
}
.ol-popup.tooltips.hasSetTitle .closeBox{
  background: none;
  font-size: 1.4em;
  color: #fff;
}
.ol-popup .closeBox::after{
  line-height: 0.9em;
}
/** Anchor warning */
.ol-popup.warning.hasSetTitle .ol-overlaycontainer-stopevent .header{
  background:#ff4e00;
}
.ol-popup.warning.hasSetTitle .ol-overlaycontainer-stopevent .header .title{
  color: #fff;
}
/*.warning.ol-popup-bottom .anchor{*/
/*bottom:-15px*/
/*}*/
/*.warning.ol-popup-top .anchor{*/
/*top:-14px*/
/*}*/
.ol-popup.warning.hasSetTitle .closeBox{
  margin: 5px 5px 0 0;
}
.ol-popup.warning .closeBox{
  font-size: 1em;
}
.ol-popup.warning .anchor::before{
  border-width:0
}
/** Anchor balck */
.ol-popup.black.hasSetTitle .ol-overlaycontainer-stopevent .header{
  background:#494949;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}
.ol-popup.black.hasSetTitle .ol-overlaycontainer-stopevent .header .title{
  color: #fff;
}
.ol-popup.black.hasSetTitle .closeBox{
  background: none;
  margin: 5px 5px 0 0;
}
.ol-popup.black .anchor::before{
  border-width:0
}
/** Anchor tips */
.ol-popup.tips.hasSetTitle .ol-overlaycontainer-stopevent .header{
  background:#96cb62;
  border-bottom: none;

}
.ol-popup.tips.hasSetTitle .ol-overlaycontainer-stopevent .header .title{
  color: #fff;
}
.ol-popup.tips .closeBox{
  background: none;
  margin: 5px 5px 0 0;
  color: #62a61f;
}
.ol-popup.tips.hasSetTitle .closeBox{
  background: none;
  margin: 5px 5px 0 0;
  color: #fff;
}
.ol-popup.tips .closeBox:hover{
  background: none;
  color: #95b972;
}
.ol-popup.tips .anchor::before{
  border-width:0
}
.ol-popup .closeBox::after{
  font-size:2em;
}
/** Anchor shadow */
.ol-popup.shadow{
  border-radius: 5px;
  box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.3);
}
.ol-popup.shadow.hasSetTitle .ol-overlaycontainer-stopevent .header{
  background: rgba(42,42,42,0.7);
  border-bottom: none;
  border-radius: 5px 5px 0 0;

}
.ol-popup.shadow.hasSetTitle .ol-overlaycontainer-stopevent .header .title{
  color: #fff;
}
.ol-popup.shadow.hasSetTitle .closeBox{
  background: none;
  margin: 5px 5px 0 0;
  color: #fff;
}
.ol-popup.shadow .closeBox:hover{
  background: none;
}
.ol-popup.shadow .anchor::before{
  border-width:0
}